[INFO] cloning repository https://github.com/itechdom/rusty-chatter
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/itechdom/rusty-chatter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitechdom%2Frusty-chatter", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitechdom%2Frusty-chatter'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9d7984335993514020087e396bc38362448eca03
[INFO] checking itechdom/rusty-chatter against master#af3c6e733a40e671550e0f0f5aeecaa13772ba56 for pr-74989
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitechdom%2Frusty-chatter" "/workspace/builds/worker-8/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/itechdom/rusty-chatter on toolchain af3c6e733a40e671550e0f0f5aeecaa13772ba56
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/itechdom/rusty-chatter
[INFO] finished tweaking git repo https://github.com/itechdom/rusty-chatter
[INFO] tweaked toml for git repo https://github.com/itechdom/rusty-chatter written to /workspace/builds/worker-8/source/Cargo.toml
[INFO] crate git repo https://github.com/itechdom/rusty-chatter already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr] error: the lock file /workspace/builds/worker-8/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating git repository `https://github.com/carllerche/mio`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 08d9c4853bec28faf21d30a7332387247d9eb9c10595069f21f3ae2a8e4c1e11
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "08d9c4853bec28faf21d30a7332387247d9eb9c10595069f21f3ae2a8e4c1e11", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "08d9c4853bec28faf21d30a7332387247d9eb9c10595069f21f3ae2a8e4c1e11", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "08d9c4853bec28faf21d30a7332387247d9eb9c10595069f21f3ae2a8e4c1e11", kill_on_drop: false }`
[INFO] [stdout] 08d9c4853bec28faf21d30a7332387247d9eb9c10595069f21f3ae2a8e4c1e11
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 452cbe16477065c08542ec50824401ee1c1b14e9b7f546244db6a6cf6bea19a9
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "452cbe16477065c08542ec50824401ee1c1b14e9b7f546244db6a6cf6bea19a9", kill_on_drop: false }`
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling libc v0.2.77
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]     Checking rustc-serialize v0.3.24
[INFO] [stderr]     Checking sha1 v0.1.1
[INFO] [stderr]     Checking mio v0.7.0 (https://github.com/carllerche/mio#eef8d3b9)
[INFO] [stderr]     Checking rusty-chatter v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `mio::tcp`
[INFO] [stdout]  --> src/main.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | use mio::tcp::*;
[INFO] [stdout]   |          ^^^ could not find `tcp` in `mio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventLoop`
[INFO] [stdout]   --> src/main.rs:24:26
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let mut event_loop = EventLoop::new().unwrap();
[INFO] [stdout]    |                          ^^^^^^^^^ use of undeclared type or module `EventLoop`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stdout]   --> src/main.rs:32:21
[INFO] [stdout]    |
[INFO] [stdout] 32 |                     EventSet::readable(),
[INFO] [stdout]    |                     ^^^^^^^^ use of undeclared type or module `EventSet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt`
[INFO] [stdout]   --> src/main.rs:33:21
[INFO] [stdout]    |
[INFO] [stdout] 33 |                     PollOpt::edge()).unwrap();
[INFO] [stdout]    |                     ^^^^^^^ use of undeclared type or module `PollOpt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TcpListener` in this scope
[INFO] [stdout]  --> src/main.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 |     socket: TcpListener,
[INFO] [stdout]   |             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::net::TcpListener;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope
[INFO] [stdout]  --> src/main.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 8 |     clients: HashMap<Token, TcpStream>,
[INFO] [stdout]   |              ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::HashMap;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TcpStream` in this scope
[INFO] [stdout]  --> src/main.rs:8:29
[INFO] [stdout]   |
[INFO] [stdout] 8 |     clients: HashMap<Token, TcpStream>,
[INFO] [stdout]   |                             ^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::net::TcpStream;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Handler` in this scope
[INFO] [stdout]   --> src/main.rs:12:6
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Handler for WebSocketServer {
[INFO] [stdout]    |      ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found struct `WebSocketServer`
[INFO] [stdout]   --> src/main.rs:25:23
[INFO] [stdout]    |
[INFO] [stdout] 6  | / struct WebSocketServer {
[INFO] [stdout] 7  | |     socket: TcpListener,
[INFO] [stdout] 8  | |     clients: HashMap<Token, TcpStream>,
[INFO] [stdout] 9  | |     token_counter: usize
[INFO] [stdout] 10 | | }
[INFO] [stdout]    | |_- `WebSocketServer` defined here
[INFO] [stdout] ...
[INFO] [stdout] 25 |       let mut handler = WebSocketServer;
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^ help: use struct literal syntax instead: `WebSocketServer { socket: val, clients: val, token_counter: val }`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `TcpListener`
[INFO] [stdout]   --> src/main.rs:29:25
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let server_socket = TcpListener::bind(&address).unwrap();
[INFO] [stdout]    |                         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  | use std::net::TcpListener;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0423, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rusty-chatter`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0432]: unresolved import `mio::tcp`
[INFO] [stdout]  --> src/main.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | use mio::tcp::*;
[INFO] [stdout]   |          ^^^ could not find `tcp` in `mio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventLoop`
[INFO] [stdout]   --> src/main.rs:24:26
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let mut event_loop = EventLoop::new().unwrap();
[INFO] [stdout]    |                          ^^^^^^^^^ use of undeclared type or module `EventLoop`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stdout]   --> src/main.rs:32:21
[INFO] [stdout]    |
[INFO] [stdout] 32 |                     EventSet::readable(),
[INFO] [stdout]    |                     ^^^^^^^^ use of undeclared type or module `EventSet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt`
[INFO] [stdout]   --> src/main.rs:33:21
[INFO] [stdout]    |
[INFO] [stdout] 33 |                     PollOpt::edge()).unwrap();
[INFO] [stdout]    |                     ^^^^^^^ use of undeclared type or module `PollOpt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TcpListener` in this scope
[INFO] [stdout]  --> src/main.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 |     socket: TcpListener,
[INFO] [stdout]   |             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::net::TcpListener;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope
[INFO] [stdout]  --> src/main.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 8 |     clients: HashMap<Token, TcpStream>,
[INFO] [stdout]   |              ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::HashMap;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TcpStream` in this scope
[INFO] [stdout]  --> src/main.rs:8:29
[INFO] [stdout]   |
[INFO] [stdout] 8 |     clients: HashMap<Token, TcpStream>,
[INFO] [stdout]   |                             ^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::net::TcpStream;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Handler` in this scope
[INFO] [stdout]   --> src/main.rs:12:6
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Handler for WebSocketServer {
[INFO] [stdout]    |      ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found struct `WebSocketServer`
[INFO] [stdout]   --> src/main.rs:25:23
[INFO] [stdout]    |
[INFO] [stdout] 6  | / struct WebSocketServer {
[INFO] [stdout] 7  | |     socket: TcpListener,
[INFO] [stdout] 8  | |     clients: HashMap<Token, TcpStream>,
[INFO] [stdout] 9  | |     token_counter: usize
[INFO] [stdout] 10 | | }
[INFO] [stdout]    | |_- `WebSocketServer` defined here
[INFO] [stdout] ...
[INFO] [stdout] 25 |       let mut handler = WebSocketServer;
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^ help: use struct literal syntax instead: `WebSocketServer { socket: val, clients: val, token_counter: val }`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `TcpListener`
[INFO] [stdout]   --> src/main.rs:29:25
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let server_socket = TcpListener::bind(&address).unwrap();
[INFO] [stdout]    |                         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  | use std::net::TcpListener;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0423, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "452cbe16477065c08542ec50824401ee1c1b14e9b7f546244db6a6cf6bea19a9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "452cbe16477065c08542ec50824401ee1c1b14e9b7f546244db6a6cf6bea19a9", kill_on_drop: false }`
[INFO] [stdout] 452cbe16477065c08542ec50824401ee1c1b14e9b7f546244db6a6cf6bea19a9
